package com.sun.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "物流对象", description = "")
public class Logistics {

    @ApiModelProperty(value = "主键")

    private String id;

    @ApiModelProperty(value = "物品名")
    private String name;

    @ApiModelProperty(value = "数量")
    private Integer count;

    @ApiModelProperty(value = "仓库类型")
    @TableField(value = "storageType")
    private String storageType;

    @ApiModelProperty(value = "物品分类")
    @TableField(value = "goodType")
    private String goodType;

    @ApiModelProperty(value = "发货仓库")
    private String output;

    @ApiModelProperty(value = "收货仓库")
    private String input;

    @ApiModelProperty(value = "发货人")
    private String sender;

    @ApiModelProperty(value = "收货人")
    private String receiver;

    @ApiModelProperty(value = "发货地址")
    @TableField(value = "deliveryAddress")
    private String deliveryAddress;

    @ApiModelProperty(value = "收货地址")
    @TableField(value = "shippingAddress")
    private String shippingAddress;


    @ApiModelProperty(value = "发货经纬度")
    private String outpoint;

    @ApiModelProperty(value = "收货经纬度")
    private String inpoint;

    @ApiModelProperty(value = "发货时间")
    @TableField(value = "deliveryTime")
    private Date deliveryTime;

    @ApiModelProperty(value = "预计配送时间")
    @TableField(value = "estimatedDeliveryTime")
    private String estimatedDeliveryTime;

    @ApiModelProperty(value = "收货时间")
    @TableField(value = "receiptTime")
    private Date receiptTime;

    @ApiModelProperty(value = "物流状态")
    @TableField(value = "logisticsStatus")
    private String logisticsStatus;

}
